﻿package dt.inlee.system.dao;

import org.hibernate.metadata.ClassMetadata;
import org.springframework.stereotype.Repository;

import dt.inlee.common.dao.impl.GenericHibernateDao;
import dt.inlee.domain.OperationEntity;

/**
 * @功能说明：操作日志数据访问层
 * @作者：杨梦
 * @时间：2012-7-14@
 * @author Administrator
 *
 */

@Repository("operationDao")
public class OperationDao extends GenericHibernateDao<OperationEntity,String> implements
 	IOperationDao {
	public ClassMetadata methodName(Object obj){
		ClassMetadata classMetadata = this.getSessionFactory().getClassMetadata(obj.getClass());
		return classMetadata;
	}
}

